package com.wejoy.video.middle.station.data.mapper.overtime;

import com.wejoy.video.middle.station.data.domain.overtime.OvertimeInfo;

import java.util.List;

/**
 * 加班详情
 *
 * @author miracle_j
 * @date 2024年04月22日 18:00:45
 */
public interface IOvertimeInfoMapper {

    /**
     * 插入
     *
     * @param overtimeInfo overtimeInfo
     * @return int
     */
    int insertSelective(OvertimeInfo overtimeInfo);

    /**
     * 更新
     *
     * @param setParam   setParam
     * @param whereParam whereParam
     * @return int
     */
    int updateSelective(OvertimeInfo setParam, OvertimeInfo whereParam);

    /**
     * 数量
     *
     * @param overtimeInfo overtimeInfo
     * @return int
     */
    int getCount(OvertimeInfo overtimeInfo);

    /**
     * 单条
     *
     * @param overtimeInfo overtimeInfo
     * @return OvertimeInfo
     */
    OvertimeInfo getOne(OvertimeInfo overtimeInfo);

    /**
     * 多条
     *
     * @param overtimeInfo overtimeInfo
     * @return List<OvertimeInfo>
     */
    List<OvertimeInfo> getList(OvertimeInfo overtimeInfo);

    /**
     * 分页
     *
     * @param overtimeInfo overtimeInfo
     * @return List<OvertimeInfo>
     */
    List<OvertimeInfo> getPageList(OvertimeInfo overtimeInfo);

}